clarify bugfix in 2.14 for gtk_expander_get_label
authorBjörn Lindqvist <bjourne@gmail.com>
Tue, 7 Apr 2009 16:54:15 +0000 (12:54 -0400)
committerCody Russell <bratsche@gnome.org>
Tue, 7 Apr 2009 16:54:15 +0000 (12:54 -0400)
Updated documentation for gtk_expander_get_label to clarify that
it was changed in 2.14.

gtk/gtkexpander.c

index ebfead7aa4f45557d0de204d949aaf664d875f31..6866f982c96898f5f7792921ffc6fc4a060cf055 100644 (file)
@@ -1538,6 +1538,12 @@ gtk_expander_set_label (GtkExpander *expander,
  * return value will be %NULL. This will be the case if you create an
  * empty button with gtk_button_new() to use as a container.
  *
+ * Note that this function behaved differently in versions prior to
+ * 2.14 and used to return the label text stripped of embedded
+ * underlines indicating mnemonics and Pango markup. This problem can
+ * be avoided by fetching the label text directly from the label
+ * widget.
+ *
  * Return value: The text of the label widget. This string is owned
  * by the widget and must not be modified or freed.
  *